<?php
namespace Vido\Model;
use Think\Model;
class CateModel extends Model{
   protected $_validate = array(
     array('img_src','require','验证码必须！',1), //默认情况下用正则进行验证

   );
} 